package com.rd.student.jiaji.class1.jinhongyu.day0802;

public class Cat extends Animal {

    String eyesColor;

    public Cat(String name, String eyesColor) {
        super(name);
        this.eyesColor = eyesColor;
    }

    @Override
    void voice() {
        System.out.println("猫叫");
    }

    @Override
    void enjoy() {
        System.out.println("猫高兴");
    }
}
